import Vue from 'vue'
import Router from 'vue-router'
import Index from './Index.vue'
import ModelColumn from './ModelColumn.vue'
import  AddModel from  "./view/AddModel"
Vue.use(Router)
//路由
export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/modelcolumn',
      name: 'ModelColumn',
      component: ModelColumn
    },{
    path: '/addModel',
    name: 'AddModel',
    component: AddModel
  }
  ]
})